
#include <Rectangle.h>

Rectangle::Rectangle(unsigned int l, unsigned int w):length_m(l),width_m(w)
{}

unsigned int 
Rectangle::getArea() const
{
	return length_m*width_m;
}

unsigned int 
Rectangle::getPerimeter() const
{      
        return 2*(length_m + width_m);
}

void
Rectangle::setWidth(unsigned int w)
{      
        width_m = w;
}

void
Rectangle::setLength(unsigned int l)
{      
        length_m = l;
}
